package org.freedoit.client;

import java.util.List;

import org.freedoit.shared.data.SharedTask;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface TaskServiceAsync {
	public void addTask(SharedTask task, AsyncCallback<Long> callback);
	public void updateTask(SharedTask task, AsyncCallback<Long> callback);
	public void deleteTask(Long taskId, AsyncCallback<Long> callback);
	public void finishTask(Long taskId, AsyncCallback<Long> callback);
	public void unfinishTask(Long taskId, AsyncCallback<Long> callback);
	public void asyncTaskList(Long timestamp, AsyncCallback<List<SharedTask>> callback);
}